#ifndef SIRESSURECTION_H
#define SIRESSURECTION_H

#include "ShopItem.h"

class ShopWidget;

class SIRessurection : public ShopItem
{
    public:
        SIRessurection( ShopWidget* shop, int _x = 50, int _y = 50  )
        :ShopItem( shop,
          "Ressurects player in ( 50, 50 ) and kills anything that is there already" ),
          x(_x), y(_y)
        {
            setPicture( new QImage( ":/Ressurection_logo.jpg" ) );
        }

        int price() const { return PRICE; }

        ~SIRessurection() {}
    protected:
    private:
        static const int PRICE = 200;
          // coordinates of ressurection ( if out of borders nothing happens )
        int x, y;
          // ressurects player
        void effect();
};

#endif // SIRESSURECTION_H
